# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-face
_pkgname=face
pkgver=24.0.0
pkgrel=1
pkgdesc='A command-line application framework (and CLI parser).'
arch=('any')
url='https://github.com/mahmoud/face'
license=('BSD')
depends=('python' 'python-boltons' 'python-cachetools' 'python-chardet'
         'python-click' 'python-colorama' 'python-coverage' 'python-distlib'
         'python-exceptiongroup' 'python-filelock' 'python-importlib-metadata'
         'python-iniconfig' 'python-packaging' 'python-platformdirs'
         'python-pluggy' 'python-pyproject-api' 'python-pyproject-hooks'
         'python-tomli' 'python-tox' 'python-typing_extensions' 'python-zipp')
makedepends=('python-setuptools')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('201ca197c9e4648342f717187f7b4f055fd0653966ada1d417409a8f305bb9d0af5f1efbe19681ebf119aa7a821e7597c2eccf5e9da021128480d66642f94b4a')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

